/*
 * Copyright (C) 2010 TTPASI, Inc. All Rights Reserved.
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *      http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS-IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */

package ttpasi.jgenere.initial_port.languagedata;

import static ttpasi.jgenere.initial_port.languagedata.LanguageUtils.loadFrequencies;

class EnglishData extends LanguageData
{
  //  __english_data = {
  //                    'A':8.167, 'B':1.492, 'C':2.782, 'D':4.253, 'E':12.702,
  //                    'F':2.228, 'G':2.015, 'H':6.094, 'I':6.996, 'J':0.153,
  //                    'K':0.772, 'L':4.025, 'M':2.406, 'N':6.749, 'O':7.507,
  //                    'P':1.929, 'Q':0.095, 'R':5.987, 'S':6.327, 'T':9.056,
  //                    'U':2.758, 'V':0.978, 'W':2.360, 'X':0.150, 'Y':1.974,
  //                    'Z':0.074, 'max_val':12.702, 'kappa':0.0667
  //                   }
  EnglishData()
  {
    super(
        loadFrequencies("'A':8.167, 'B':1.492, 'C':2.782, 'D':4.253, 'E':12.702,'F':2.228, 'G':2.015, 'H':6.094, 'I':6.996, 'J':0.153,'K':0.772, 'L':4.025, 'M':2.406, 'N':6.749, 'O':7.507,'P':1.929, 'Q':0.095, 'R':5.987, 'S':6.327, 'T':9.056,'U':2.758, 'V':0.978, 'W':2.360, 'X':0.150, 'Y':1.974,'Z':0.074"),
        12.702D, 0.0667D);
  }
}